<%--User: 24390 Date: 2021/1/14 Time: 20:25--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" isErrorPage="true" %>
<html>
<head>
    <title>主页</title>
    <%--    base标签大坑，前面的斜杠必须去除，后面的斜杠必须保留，今后的所有地址，如果想参考base标签，开头不能写斜杠
        总结：1.端口号前面的冒号不能省略。2.contextPath前面不能写/3.contextPath后面必须写/4.不能以/开头
    --%>
    <base href="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/">
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <link rel="stylesheet" href="css/login.css">
    <script src="jquery/jquery-2.1.1.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>

    <style>

    </style>
    <title>彤筹网-管理员登录</title>
</head>
<body>
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <div>
                    <a class="navbar-brand" href="index.html" style="font-size: 32px;">彤筹网-创意产品众筹平台</a>
                </div>
            </div>
        </div>
    </nav>
    <div class="container">
<%--        springmvc配置文件31行--%>
        <form action="/admin/do/login" method="post" class="form-signin" role="form">
            <h2 class="form-signin-heading">
                <i class="glyphicon glyphicon-log-in"></i> 管理员登录
            </h2>
<%--            登录失败警告--%>
            <p style="color: red">${requestScope.exception.message}</p>

            <div class="form-group has-success has-feedback">
<%--                管理员账号loginAcct--%>
                <input type="text" name="loginAcct" value="zyb" class="form-control" id="inputSuccess1"
                       placeholder="请输入登录账号" autofocus> <span
                    class="glyphicon glyphicon-user form-control-feedback"></span>
            </div>
            <div class="form-group has-success has-feedback">
<%--                管理员密码userPswd--%>
                <input type="text" name="userPswd" value="123456" class="form-control" id="inputSuccess2"
                       placeholder="请输入登录密码" style="margin-top: 10px;"> <span
                    class="glyphicon glyphicon-lock form-control-feedback"></span>
            </div>
            <button type="submit" class="btn btn-lg btn-success btn-block">登录</button>
        </form>
    </div>
</body>
</html>